package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户代理人设置
 *
 * @author WeiZiDong
 */
@Table(name = "`sys_user_agent`")
@Data
@ApiModel("用户代理人设置")
public class SysUserAgent implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "序号", example = "String")
    private String id;
    @Column(name = "`user_name`")
    @ApiModelProperty(value = "用户名", example = "String")
    private String userName;
    @Column(name = "`agent_user_name`")
    @ApiModelProperty(value = "代理人用户名", example = "String")
    private String agentUserName;
    @Column(name = "`start_time`")
    @ApiModelProperty(value = "代理开始时间", example = "2019-05-05 17:55:31")
    private Date startTime;
    @Column(name = "`end_time`")
    @ApiModelProperty(value = "代理结束时间", example = "2019-05-05 17:55:31")
    private Date endTime;
    @Column(name = "`status`")
    @ApiModelProperty(value = "状态0无效1有效", example = "String")
    private String status;
    @Column(name = "`create_name`")
    @ApiModelProperty(value = "创建人名称", example = "String")
    private String createName;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人登录名称", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建日期", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_name`")
    @ApiModelProperty(value = "更新人名称", example = "String")
    private String updateName;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人登录名称", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新日期", example = "2019-05-05 17:55:31")
    private Date updateTime;
    @Column(name = "`sys_org_code`")
    @ApiModelProperty(value = "所属部门", example = "String")
    private String sysOrgCode;
    @Column(name = "`sys_company_code`")
    @ApiModelProperty(value = "所属公司", example = "String")
    private String sysCompanyCode;

    private static final long serialVersionUID = 1L;
}
